<?php
include("../../config.php");
include(FILE_ROOT."/common/db.php");
include(FILE_ROOT."/common/user_client.php");
include(FILE_ROOT."/common/common_function.php");
if(!checkIsLogin()){
    echo '{"status":-2,"message":"没有权限！","data":""}';return;
}
$users = new UserClient();

echo $users -> logout($_COOKIE["CCUSER"]);
